﻿using MediatR;
using Tb.App.ErrorCode;

namespace Tb.App.API.Applications.Command.Basic
{
    /// <summary>
    /// 添加基本信息
    /// </summary>
    public class AddBasicCommand:IRequest<ApiResult<int>>
    {
        /// <summary>
        /// 商品名称Id
        /// </summary>
        public int Sid { get; set; }
        /// <summary>
        /// 生产批次
        /// </summary>
        public string? Batch { get; set; }
        /// <summary>
        /// 保质期
        /// </summary>
        public int Expiration { get; set; }
        /// <summary>
        /// 生产许可证号
        /// </summary>
        public string? License { get; set; }
        /// <summary>
        /// 生产企业
        /// </summary>
        public string? Company { get; set; }
        /// <summary>
        /// 封面图
        /// </summary>
        public string? Picture { get; set; }
        /// <summary>
        /// 信息完善度
        /// </summary>
        public int? Completeness { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? Creator { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreatorDate { get; set; }
    }
}
